Dynomotion

Group: DynoMotion Message: 12566 From: andysontag Date: 12/5/2015
Subject: How to enable Gamepad?

Hi Tom,


I've been reading everything I can find in yahoo groups and it seems like a Logitech gamepad should just work without any drivers or adjustments. Seem like I should just be able to click the "Enable Gamepad" radio button in Tool Setup and be ready to move the machine via the gamepad. However I don't get any movement or reaction from kmotion when the gamepad is used. 


The gamepad I have is a Logitech Cordless Rumblepad 2, and I installed the driver software so that I could verify that all of the buttons and joysticks work. In the calibration window they indeed do work as they should. 


Is there something that I'm missing? 


Andy

Group: DynoMotion Message: 12567 From: David Stevenson Date: 12/5/2015
Subject: Re: How to enable Gamepad?
Hi Andy,

I use that same unit and the only issue I've had is when the mode switch was accidentally set to the "D" position.

Best regards,
David.

On 2015-12-05 7:18 PM, andysontag@... [DynoMotion] wrote:
 

Hi Tom,


I've been reading everything I can find in yahoo groups and it seems like a Logitech gamepad should just work without any drivers or adjustments. Seem like I should just be able to click the "Enable Gamepad" radio button in Tool Setup and be ready to move the machine via the gamepad. However I don't get any movement or reaction from kmotion when the gamepad is used. 


The gamepad I have is a Logitech Cordless Rumblepad 2, and I installed the driver software so that I could verify that all of the buttons and joysticks work. In the calibration window they indeed do work as they should. 


Is there something that I'm missing? 


Andy


This email has been sent from a virus-free computer protected by Avast.
www.avast.com
Group: DynoMotion Message: 12568 From: andysontag Date: 12/5/2015
Subject: Re: How to enable Gamepad?
David,

Hmmm. Glad to know it isn't the gamepad. 

Andy
Group: DynoMotion Message: 12569 From: andysontag Date: 12/5/2015
Subject: Re: How to enable Gamepad?
So I installed the new kmotion on a little windows 10 netbook, loaded all of the same settings and viola! The gamepad works beautifully. I can't figure out why it doesn't work on the other computer, but it probably doesn't have anything to do with kmotion.

Andy


Group: DynoMotion Message: 12570 From: andysontag Date: 12/5/2015
Subject: Re: How to enable Gamepad?
Tom,

Do you have any suggestions on how I might track down why my main computer isn't letting kmotioncnc use input from the gamepad?

I suppose I could reinstall windows although I'd rather avoid doing so if I can.

Andy
Group: DynoMotion Message: 12571 From: TKSOFT Date: 12/6/2015
Subject: Re: How to enable Gamepad?

Hi Andy,

Could you have more than one Joystick device on that system?  KMotionCNC assumes it is the first one.

You might try modifying/stepping through the code in KMotionCNCDlg.c to see what happens and or if a different JOYSTICKID works.  Below is the simple code:

Regards
TK




ji.dwSize=sizeof(JOYINFOEX);
ji.dwFlags=JOY_RETURNALL;

if (m_EnableGamePad && joyGetPosEx(JOYSTICKID1,&ji) == JOYERR_NOERROR)

Quoting "andysontag@... [DynoMotion]" <DynoMotion@yahoogroups.com>:

 

Tom,

 
Do you have any suggestions on how I might track down why my main computer isn't letting kmotioncnc use input from the gamepad?
 
I suppose I could reinstall windows although I'd rather avoid doing so if I can.
 
Andy



Group: DynoMotion Message: 12574 From: andysontag Date: 12/7/2015
Subject: Re: How to enable Gamepad?
The only KMotionCNCDlg.c file I found was KMotionCNCDlg.cpp in PC VC Examples -> KMotionCNC. The joystick id could very well be 2 as I have at one point used a 3D mouse, which could have been considered a joystick. 

How would I change the JoystickID to see if it works?

Andy
Group: DynoMotion Message: 12575 From: TK Date: 12/7/2015
Subject: Re: How to enable Gamepad?
Hi Andy,

Yes that is the file.  You would need to know how to compile KMotionCNC using Microsoft Visual Studio.  Do you know how to do this?

If so change JOYSTICKID1 to JOYSTICKID2 and re-compile KMotionCNC.

Regards
TK



On 12/7/2015 7:09 PM, andysontag@... [DynoMotion] wrote:
 

The only KMotionCNCDlg.c file I found was KMotionCNCDlg.cpp in PC VC Examples -> KMotionCNC. The joystick id could very well be 2 as I have at one point used a 3D mouse, which could have been considered a joystick. 


How would I change the JoystickID to see if it works?

Andy

Group: DynoMotion Message: 12577 From: Andy Sontag Date: 12/8/2015
Subject: Re: How to enable Gamepad?
That might be a little beyond my capability. I have a feeling reinstalling windows from scratch might be an easier way to go.

Andy

On Mon, Dec 7, 2015 at 7:16 PM, TK tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Hi Andy,

Yes that is the file.  You would need to know how to compile KMotionCNC using Microsoft Visual Studio.  Do you know how to do this?

If so change JOYSTICKID1 to JOYSTICKID2 and re-compile KMotionCNC.

Regards
TK



On 12/7/2015 7:09 PM, andysontag@... [DynoMotion] wrote:
 

The only KMotionCNCDlg.c file I found was KMotionCNCDlg.cpp in PC VC Examples -> KMotionCNC. The joystick id could very well be 2 as I have at one point used a 3D mouse, which could have been considered a joystick. 


How would I change the JoystickID to see if it works?

Andy


Group: DynoMotion Message: 12606 From: andysontag Date: 12/19/2015
Subject: Re: How to enable Gamepad?
For anyone having the same problem in the future, I was able to get the gamepad working after I installed a free program called JoyToKey. It has an option for re-assigning your gamepad to a specific ID, and it worked great after after assigning my device to ID1.

Andy